package com.scenic.scenicservice.mapper;

import com.scenic.common.bean.ScenicSpotPic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScenicSpotPicMapper {
    //添加
    int insert(@Param("picList") List<ScenicSpotPic> picList);
    //根据景点的id删除
    int delete(Long scenicSpotId);
    //根据景点的id查询
    List<ScenicSpotPic> selectByScenicSpotId(Long scenicSpotId);
}
